<?php
// +----------------------------------------------------------------------
// | Alipay配置文件
// +----------------------------------------------------------------------

return [
    // 支付宝网关
    'gatewayUrl' => "https://openapi.alipay.com/gateway.do",
    // app_id
    'app_id' => '2021004166631510',
    // 应用私钥
    'merchant_private_key' => "MIIEowIBAAKCAQEAqqfTL455R9cCd/ggThuIcwY9kngAzWUwVihQvbWOwchSwOkzcaz3JsVal04rF48v6BJmgc0RTi6HDtTVtkh1IeUxZHQVm+TX3gg8j8L+kPADMx+PPfKlT5qzaK2SDz1YLeZB6+zIhyn3Mp6fIFuS/1lpZto4haYyPRiextBcxR59dWZlOlvGnI3vgik9IJr9GV4qsvpdipLdlkK1tdrdYl74iL3+EMkcbbA4i+bQYrEhtQZ0MjLDBo2aTgH5SRZGrf2IAgk5+wwrSTQUOB76YN5hWMKGgxWKQ+ybLp0bWBR6mta9iBn1g1U8XxObqkKlJ1k9C306t+eELuFFDujHDwIDAQABAoIBAQCTRaOVveFiIuYJfEL8xPv7L96BATjICFQvdjk/jmg1SVhJDLcNmdPsTJJCUv4TJcmVABQgXkVZ8AMzxG7uEReseasnYpqnX1T/UqJY+lFP6SEJxGmMb1NEIGBFrMyIhEsNyVEIdd4T7x5aO9NdTEnOPW4diaMPi359hTq4nmYA4Uc7s3+LtydsZmgM4G7O54/dT6MFfQrd3wSv/Nmo18kbdRZjzemZpJVTeE+WIEW2cL3NVWjovN+h6r0rTZf7whzvXjV/AWdel/fznsolONfpTrRpVUYD27sU9QibzdQs1QBhmUkM7ZzT5W0Fm3BWG6rYMgpjbR0ahrQAf1Hui6AZAoGBANePA9vJl5Xd4ksnLW0cVNDJBQPWbYBbl3k+ospgfh52JC6O96k1OVL2nrBCsib++rL3SFHFMcJVqGPPNS5zVRConqLhcBRCcSW/MU5rc8ZAiQLHyfCfbZq1Xszcf4LPFRPD2iTE5Ifd1tZYUhFx37UcX4qUyOTko3ETa5JLKQ6NAoGBAMqsLTEqYKibKDTp+s36cOrBA0VRs9I4kJ7cEccyLS/jIEvt57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
    'sign_type' => "RSA2",
    // 编码格式
    'charset' => "UTF-8",
    // 请求格式，固定值json
    'format' => "JSON",
    // 调用的接口版本，固定为：1.0
    'version' => "1.0",
    // AES密钥，配合encrypt_type=AES加解密相关接口
    'encryptKey' => "",
    // 请求格式，固定值AES，（设置EncryptKey时必选） 
    'encryptType' => "AES",

    //通过公共参数notify_url配置上传异步地址
    //异步通知地址需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，商户外网可以post访问的异步地址（不支持本地测试），用于接收支付宝返回的支付结果
    'notify_url' => env('Live.api_host') . "/apiadmin/user/alipay_notify",
    
    //通过接口公共参数return_url配置上传同步地址
    //同步通知地址需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，get访问，用于支付完成后前端页面同步跳转
    'return_url' => "https://baidu.com",
    
    // 日志记录目录
    'log_path' => runtime_path()."alipay_log.txt",
];
